package com.castle.fortress.admin.exchange.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.exchange.entity.ExchangeConfigEntity;
import java.util.Map;
import java.util.List;
/**
 * 兑换中心设置Mapper 接口
 *
 * @author whc
 * @since 2022-12-05
 */
public interface ExchangeConfigMapper extends BaseMapper<ExchangeConfigEntity> {

    /**
    * 扩展信息列表
    * @param pageMap
    * @param exchangeConfigEntity
    * @return
    */
    List<ExchangeConfigEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("exchangeConfigEntity") ExchangeConfigEntity exchangeConfigEntity);

    /**
    * 扩展信息记录总数
    * @param exchangeConfigEntity
    * @return
    */
    Long extendsCount(@Param("exchangeConfigEntity") ExchangeConfigEntity exchangeConfigEntity);

    /**
    * 兑换中心设置扩展详情
    * @param id 兑换中心设置id
    * @return
    */
    ExchangeConfigEntity getByIdExtends(@Param("id")Long id);



}
